package com.hz.pro.kitchen.manager;

import com.hz.pro.kitchen.dal.entity.UserEntity;
import com.hz.pro.kitchen.dal.mapper.UserMapper;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserManager {
    @Resource
    private UserMapper userMapper;

    public void insertUser(UserEntity entity) {
        userMapper.insertSelective(entity);
    }
}